<div id="topbar">
    <div id="ilogo"><a href="http://www.ititer.com"><img src="/images/logo_s.png" border="0"/></a></div>
    <div id="navs">
        <div id="appbar">
        <nav>
            <a href="/bestpractice">Best Practice</a>
            &nbsp;<a href="/ittrip">It Trip</a>
            &nbsp;<a href="/iters">Iters</a>
            &nbsp;<a href="/quickanswer">Quick Answer</a>
            &nbsp;<a href="/trend">Trend</a>
            &nbsp;<a href="/tools">Tools</a>
        </nav>
        </div>
        <div id="userbar">
            <ul>
                <li>
                    <nav>
                    <c:choose>
                    <c:when test="${not empty CurrentUser}">
                    <a href="/user/${CurrentUser.uri}" class="ub_home">首页</a>
                    <a href="/invite" class="ub_invite">邀请</a>
                    <a href="/settings" class="ub_setting">设置</a>
                    <a href="/logout" class="ub_logout">退出</a>
                    </c:when>
                    <c:otherwise>
                    <a href="/login">登录</a>
                    </c:otherwise>
                    </c:choose>
                    </nav>
                </li>
            </ul>
        </div>
    </div>
</div>